package com.cn.kehong.api;


import com.alibaba.fastjson.JSONObject;
import com.cn.kehong.domain.LineTask;
import com.cn.kehong.domain.XunjianTask;
import com.cn.kehong.utils.QueryForm;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface IXunjianTaskService {


    List<XunjianTask> getXunjianTaskList(QueryForm queryForm)throws Exception;

    void exportXunjianTask(QueryForm queryForm, HttpServletResponse response)throws Exception;


    Map<String, Object> getXunjianTaskCountByApp(QueryForm queryForm)throws Exception;

    List<XunjianTask> getNameByXunjianList(QueryForm queryForm)throws Exception;

    Map<String, Object> getXunjianTaskListByApp(QueryForm queryForm)throws Exception;

    String addXunjianTask(XunjianTask xunjianTask)throws Exception;

    String addXunjianYaoLuTask(String productCode,String factoryName)throws Exception;

    String updateLineTask(XunjianTask xunjianTask)throws Exception;

//    Map<String, Object> getXunjianTaskCount()throws Exception;

    Map<String, Integer> getXunjianTaskToday()throws Exception;

    String xunjianTaskCancel(String id)throws Exception;

    Map<String, Object> getXunjianTaskByNewCount(QueryForm queryForm)throws Exception;

    Map<String, Object> getXunjianTaskByNewType(QueryForm queryForm)throws Exception;
}
